package com.liaowei.workmanager

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel

class MainViewModel: ViewModel() {
    var number: MutableLiveData<Int> = MutableLiveData(1)

    fun add() {
        // number.value = number.value?.plus(1)
        number.value = number.value?.plus(1)
    }

}